<template>
  <div>
    <h3>考勤</h3>

    <h4>局部混入的变量:{{ num }}</h4>
    <el-button @click="addNum">点击+1</el-button>
    <br>
    <h4>全局混入的变量：{{ globalNum }}</h4>
  </div>
</template>
<script>
import Xxx from './mixin/xxx'
export default {
  mixins: [Xxx],
  data() {
    return {
      globalNum: 300
    }
  }
}
</script>
<style></style>
